package test02.a;

import java.util.concurrent.Callable;

/**
 * @Author lzp
 * @Date 2024-03-19
 */
public class SumThread03 implements Callable<Integer> {

    @Override
    public Integer call() throws Exception {
        int sum =0;
        for (int i=901; i <=1000; i++) {
            sum+=i;
        }
        return sum;
    }
}
